package cn.tedu.oop;

public class Test4_Abstract2 {
    public static void main(String[] args) {
        Animal3 a = new Dog3();
    }
}
abstract class Animal3{
    public Animal3(){
        System.out.println("Animal3...无参构造");
    }
}
class Dog3 extends Animal3{
    public Dog3(){
        super();
        System.out.println("Dog3..无参构造");
    }
}